Wraps a nkGraphics::Quaternion and offers functions for use in scripting. More...
Static Public Member Functions | |
| static void | updateEnvironment (nkScripts::Environment *env) |
| static void * | constructor (const nkScripts::DataStack &stack) |
| static void | destructor (void *toDestroy) |
| static nkScripts::OutputValue | getX (void *vector) |
| static nkScripts::OutputValue | getY (void *vector) |
| static nkScripts::OutputValue | getZ (void *vector) |
| static nkScripts::OutputValue | getW (void *vector) |
| static void | setX (const nkScripts::DataStack &stack) |
| static void | setY (const nkScripts::DataStack &stack) |
| static void | setZ (const nkScripts::DataStack &stack) |
| static void | setW (const nkScripts::DataStack &stack) |
| static nkScripts::OutputValue | applyToVec (const nkScripts::DataStack &stack) |
| static nkScripts::OutputValue | setFromAxisAngle (const nkScripts::DataStack &stack) |
| static nkScripts::OutputValue | setFromEuler (const nkScripts::DataStack &stack) |
| static nkScripts::OutputValue | toString (const nkScripts::DataStack &stack) |
Wraps a nkGraphics::Quaternion and offers functions for use in scripting.
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
| env | The environment to set up. |
|
static |
Wrapper function for the constructor of the user type.
| stack | The parameter stack. |
|
static |
Wrapper function for the destructor of the user type.
| toDestroy | The data that has to be freed. |
|
static |
Wrapper function for the nkGraphics::Quaternion::getX(), exposed as an attribute getter.
| vector | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for the nkGraphics::Quaternion::getY(), exposed as an attribute getter.
| vector | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for the nkGraphics::Quaternion::getZ(), exposed as an attribute getter.
| vector | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for the nkGraphics::Quaternion::getW(), exposed as an attribute getter.
| vector | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for nkGraphics::Quaternion::setX(), exposed as an attribute setter.
| stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Quaternion::setY(), exposed as an attribute setter.
| stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Quaternion::setZ(), exposed as an attribute setter.
| stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Quaternion::setW(), exposed as an attribute setter.
| stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Vector::operator*=() with a quaternion.
| stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Quaternion::setFromAxisAngle() with vectors.
| stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Quaternion::setFromEuler() with vectors.
| stack | The parameter stack. |
|
static |
Overrides the default string conversion function.
| stack | The parameter stack. |